﻿#pragma once

#include <hadoop/JobConf.h>
#include <map>

namespace HadoopPipes {
	
class JobConfImpl: public JobConf {
  private:
    std::map<std::string, std::string> values;
  public:
    void set(const std::string& key, const std::string& value) ;

    virtual bool hasKey(const std::string& key) const ;

    virtual const std::string& get(const std::string& key) const ;

    virtual int getInt(const std::string& key) const ;

    virtual float getFloat(const std::string& key) const ;

    virtual bool getBoolean(const std::string&key) const ;
  };
}